home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-06-02 | 808 b | 41 lines | [TEXT/MACH] |
- \ ------ testing words -----------------
- \ -- test Integer -------
- Integer Make.Instance XY
- XY Describe
-
- \ -- test of Array10 ----
- Array10 Make.Instance vec10
- 000 0 vec10 Store
- 111 1 vec10 Store
- 222 2 vec10 Store
- cr 1 vec10 Retrieve .
- vec10 Describe
-
- \ -- test of Array ----
- 10 4 Array Make.Instance Arr
- 000 0 Arr Store
- 111 1 Arr Store
- 999 9 Arr Store
- cr 9 Arr Retrieve .
- Arr Describe
-
- \ -- test of Vector ----
- 10 Vector Make.Instance vec
- 000 0 vec Store
- 111 1 vec Store
- 222 2 vec Store
- cr 2 vec Retrieve .
- vec Describe
-
- \ -- test of String ----
- 14 String Make.Instance hello
- hello Describe
- : hel ." This is hello" ;
- ' hel 4 + hello Store
- cr hello Print
-
- \ -- test of Point ----
- Point Make.Instance thisPoint
- 111 thisPoint Xdim ! cr thisPoint Xdim @ .
- 222 thisPoint Ydim ! cr thisPoint Ydim @ .
-